package com.pktechan.manage.vo;

import com.pktechan.manage.base.BaseEntity;
import com.pktechan.manage.entity.SysRole;

import java.util.List;


/**
 * 角色与权限列表的关联关系。
 * 
 * @author Jiahao Wang
 */
public class RoleOperateListVO extends BaseEntity
{
    // 角色信息。
    private SysRole role;

    // 权限信息。
    private List<Integer> operates;

    public RoleOperateListVO()
    {
    }

    public RoleOperateListVO(SysRole sysRole, List<Integer> operates)
    {
        this.role = sysRole;
        this.operates = operates;
    }

    public SysRole getRole()
    {
        return role;
    }

    public void setRole(SysRole role)
    {
        this.role = role;
    }

    public List<Integer> getOperates()
    {
        return operates;
    }

    public void setOperates(List<Integer> operates)
    {
        this.operates = operates;
    }
}